Repository navigation
[CP Staging] Fix that user was able to dismiss the onboarding modal on android - #50015
Conversation
|
@ikevin127 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@allgandalf will work on the checklist, as this is a regression from our previous PR 😄 cc @ikevin127 |
|
Cool, in case you need me to Approve in order to move this along once the checklist is completed, fill free to tag me and will do. |
How is that process, I guess if anyone who posts from @ - Expensify/ contributor-plus then the checklist will pass, lets see though i will ping you just in case |
Reviewer Checklist
Screenshots/VideosAndroid: Native372598075-c826bc71-7f9e-413c-b2c2-99eff129baf5.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-10-02.at.2.00.49.AM.moviOS: mWeb SafariScreen.Recording.2024-10-02.at.2.01.57.AM.movMacOS: Chrome / SafariScreen.Recording.2024-10-02.at.1.54.45.AM.movMacOS: DesktopScreen.Recording.2024-10-02.at.2.04.00.AM.mov |
Can't wait to get my hands on the hybrid app repo i tell you 😮 , seems complex but really interesting |
|
@allgandalf I'm finishing the day, so please verify the onboarding opens well on each platform 🙏 Thank you! |
allgandalf
left a comment
There was a problem hiding this comment.
Looks good, thanks for the quick work 🙇
…ndroid [CP Staging] Fix that user was able to dismiss the onboarding modal on android (cherry picked from commit 6daf561) (CP triggered by jasperhuangg)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.42-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.42-3 🚀
|
Details
The problem on android was that
isOnboardingCompletedwas loaded first, which caused the onboarding to be opened for the first time, thenisHybridAppOnboardingCompletedwas loaded which reopened onboarding for a second time. WithisLoadingOnyxValuein place we make sure the logic is fired once when both values are loaded.Fixed Issues
$ #49990
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-10-01.at.20.05.31.mov